﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>后台管理(测试)</title>
    <link href="/Content/style.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery.min.js" type="text/javascript"></script>
    <script src="/Scripts/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="/Scripts/common.js" type="text/javascript"></script>
    <style type="text/css">
        
    </style>
    <script type="text/javascript" language="javascript">
        $(function () {
            $(".subnav-title").on("click", function () {
                var $icon = $(this).find("i");
                if ($(this).next().css("display") == "none") {
                    $icon.attr("class", "icon-chevron-down");
                } else {
                    $icon.attr("class", "icon-chevron-right");
                };
                $(this).next().slideToggle("fast", "linear");
            })
        })
    </script>
</head>
<body class="mainbody">
    <div id="header">
        <div id="logo">
        </div>
        <ul class="main-nav">
            <li class="active"><a>首页</a></li>
            <li><a href="">订单管理</a></li>
            <li><a href="">后台管理</a></li>
        </ul>
        <div class="userinfo">
            <div class="dropdown">
                <a class='dropdown-toggle' data-toggle="dropdown" style="padding-right: 15px; cursor: pointer">
                    曾永佑 <b class="caret"></b></a>
                <ul class="dropdown-menu pull-right">
                    <li><a href="#">设置</a></li>
                    <li><a href="more-login.html">退出</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div id="sidebar">
        <div class="subnav">
            <div class="subnav-title">
                <a class='toggle-subnav'><i class="icon-chevron-down" style="border: 0px solid red;
                    margin: 3px;"></i><span>系统管理</span></a>
            </div>
            <ul class="subnav-menu">
                <li><a href="#">用户管理</a></li>
                <li><a href="#">角色管理</a></li>
                <li><a href="#">部门管理</a></li>
                <li><a href="#">功能管理</a></li>
                <li><a href="#">字典管理</a></li>
            </ul>
        </div>
        <div class="subnav">
            <div class="subnav-title">
                <a class='toggle-subnav'><i class="icon-chevron-down" style="border: 0px solid red;
                    margin: 3px;"></i><span>系统管理</span></a>
            </div>
            <ul class="subnav-menu">
                <li><a href="#">用户管理</a></li>
                <li><a href="#">角色管理</a></li>
                <li><a href="#">部门管理</a></li>
                <li><a href="#">功能管理</a></li>
                <li><a href="#">字典管理</a></li>
            </ul>
        </div>
    </div>
    <div id="content">
        <div id="main" class="container-fluid">
            <div class="row-fluid" style="margin-bottom:5px">
                <span class="span4 title">
                    作业内容</span>
                <input type="button" value="新增" class="btn btn-primary" style="float: right" onclick="return openEditor('add');" /></div>
            <div class="row-fluid row-heighter">
                <div class="searchbar control-group" style="margin-bottom: 0px">
                    <div class="controls" style="margin-left: 0px">
                        <!--搜索条件-->
                        <label class="" for="loginid" style="display: inline-block">
                            登录名/名称:</label>
                        <input id="name" name="name" type="text" value="" />
                        <input type="button" class="btn btn-primary" value="搜索" onclick="search();" /><input
                            type="button" class="btn" value="重置" onclick="resetSearch();" /></div>
                </div>
            </div>
            <div class="row-fluid">
                <table class="grid table table-striped table-bordered bootstrap-datatable datatable">
                    <thead>
                        <tr>
                            <th>
                                <a href="http://localhost:81/admin/user/list?order=loginid_asc">登录名</a>
                            </th>
                            <th>
                                <a href="http://localhost:81/admin/user/list?order=name_asc">名称</a>
                            </th>
                            <th>
                                邮箱
                            </th>
                            <th>
                                电话
                            </th>
                            <th>
                                IM
                            </th>
                            <th>
                                性别
                            </th>
                            <th>
                                有效
                            </th>
                            <th>
                                部门
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>
                                admin
                            </td>
                            <td>
                                系统管理员
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                                女
                            </td>
                            <td>
                                是
                            </td>
                            <td>
                                IT部门
                            </td>
                            <td class="action" style="width: 120px">
                                <a class="icon-edit" href="javascript:openEditor('changepassword','admin');" title="设置密码">
                                </a><a class="icon-edit" href="javascript:openEditor('update','23e66d6d-1262-45c0-a038-5c48ccfcf337');"
                                    title="修改"></a><a class="icon-book" href="javascript:openEditor('view','23e66d6d-1262-45c0-a038-5c48ccfcf337');"
                                        title="查看"></a><a class="icon-remove" href="javascript:openEditor('delete','23e66d6d-1262-45c0-a038-5c48ccfcf337');"
                                            title="删除"></a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="row-fluid">
                <div class='pagebar'>
                    <div class='pagination'>
                        <ul>
                            <li class='disabled'><a>&laquo;</a></li>
                            <li class='active'><a href='http://localhost:81/admin/user/list?page=1'>1</a></li>
                            <li class='disabled'><a>&raquo;</a></li></ul>
                    </div>
                    <span class='info'>1/1,共1条记录1页</span></div>
            </div>
        </div>
        <div id="footer">
            Copyright ©2013 <a href="http://www.cnblogs.com/zengyy" target="_blank">zengyy</a></div>
    </div>
</body>
</html>
